<?php
namespace app\home\controller;
use app\home\controller\Base;

class Article extends Base
{
    public function show()
    {
    	$id=input('id');
    	$cateid=input('cateid');
    	$data=db('article')->where('id',$id)->find();
    	$this->assign('article',$data);
        return view();
    }
}
